class PgWeeklyResult < ActiveRecord::Base
  establish_connection :pgweekly
  belongs_to :weekly, :class_name => "PgWeekly"

  def work
    Work.find_by_wid wid
  end
end
